package com.blue.mapper;

import com.blue.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    User selectUserById(@Param("id") Long id);

    User selectUserByUsername(@Param("username")String username);

    List<User> selectAllUser();


}
